package com.yidu.DailyFinalTreatment.entity;

public class OperationNetWorth {
    private String cashId; //现金账号Id
    private String accounName; // 现金账号名称
    private String bankAccount; // 银行卡号
    private Double balance; //余额
    private Double cashTotalAmount; // 总金额

    public OperationNetWorth() {
    }

    public OperationNetWorth(String cashId, Double cashTotalAmount) {
        this.cashId = cashId;
        this.cashTotalAmount = cashTotalAmount;
    }

    public OperationNetWorth(String cashId, String accounName, String bankAccount, Double balance, Double cashTotalAmount) {
        this.cashId = cashId;
        this.accounName = accounName;
        this.bankAccount = bankAccount;
        this.balance = balance;
        this.cashTotalAmount = cashTotalAmount;
    }

    public OperationNetWorth(Double cashTotalAmount) {
        this.cashTotalAmount = cashTotalAmount;
    }

    public OperationNetWorth(String accounName, String bankAccount, Double balance, Double cashTotalAmount) {
        this.accounName = accounName;
        this.bankAccount = bankAccount;
        this.balance = balance;
        this.cashTotalAmount = cashTotalAmount;
    }

    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }

    public String getAccounName() {
        return accounName;
    }

    public void setAccounName(String accounName) {
        this.accounName = accounName;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Double getCashTotalAmount() {
        return cashTotalAmount;
    }

    public void setCashTotalAmount(Double cashTotalAmount) {
        this.cashTotalAmount = cashTotalAmount;
    }

    @Override
    public String toString() {
        return "OperationNetWorth{" +
                "cashId='" + cashId + '\'' +
                ", accounName='" + accounName + '\'' +
                ", bankAccount='" + bankAccount + '\'' +
                ", balance=" + balance +
                ", cashTotalAmount=" + cashTotalAmount +
                '}';
    }
}
